package com.gton.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: springcloud-nacos
 * @description: 生产者的controller
 * @author: GuoTong
 * @create: 2020-11-20 10:51
 **/
@RestController
public class ProdcerController {

    /*日志*/
    private static  final Logger  logger = LoggerFactory.getLogger(ProdcerController.class);

    @GetMapping("/service")
    public String service(){
        logger.info("provider invoke");
        return "provider invoke";
    }
}
